package com.ruoyi.teaching.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生成绩详情对象 ya_exam_detail
 *
 * @author sunshine
 * @date 2024-01-24
 */

@Data
@NoArgsConstructor
public class ExamDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 节假日ID */
    private Long id;

    /** 学员名字 */
    @Excel(name = "学员名字")
    private String student;

    /** 考试记录ID */
    @Excel(name = "考试记录ID")
    private Long examRecordId;

    /** 学员ID */
    @Excel(name = "学员ID")
    private Long userId;

    /** 机试成绩 */
    @Excel(name = "机试成绩")
    private Integer computerScore;

    /** 笔试成绩 */
    @Excel(name = "笔试成绩")
    private Integer writtenScore;

    /** 问题 */
    @Excel(name = "问题")
    private String problem;

    /** 感受 1优 2良 3中 4差 */
    @Excel(name = "感受 1优 2良 3中 4差")
    private Integer feeling;

    /** 措施 */
    @Excel(name = "措施")
    private String measure;
    private ExamRecord examRecord;
    @Builder
    public ExamDetail(Long id, String student, Long examRecordId, Long userId, Integer computerScore, Integer writtenScore, String problem, Integer feeling, String measure) {
        this.id = id;
        this.student = student;
        this.examRecordId = examRecordId;
        this.userId = userId;
        this.computerScore = computerScore;
        this.writtenScore = writtenScore;
        this.problem = problem;
        this.feeling = feeling;
        this.measure = measure;
    }
}
